package cn.stylefeng.guns.modular.system.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2020-06-20
 */
@TableName("biz_acpr")
public class Acpr extends Model<Acpr> {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId("acpr_id")
    private Integer acprId;
    /**
     * 书刊名
     */
    @TableField("acpr_name")
    private String acprName;
    /**
     * 书刊出版日期
     */
    @TableField("acpr_date")
    private Date acprDate;
    /**
     * 书刊出版社
     */
    @TableField("acpr_publishname")
    private String acprPublishname;


    public Integer getAcprId() {
        return acprId;
    }

    public void setAcprId(Integer acprId) {
        this.acprId = acprId;
    }

    public String getAcprName() {
        return acprName;
    }

    public void setAcprName(String acprName) {
        this.acprName = acprName;
    }

    public Date getAcprDate() {
        return acprDate;
    }

    public void setAcprDate(Date acprDate) {
        this.acprDate = acprDate;
    }

    public String getAcprPublishname() {
        return acprPublishname;
    }

    public void setAcprPublishname(String acprPublishname) {
        this.acprPublishname = acprPublishname;
    }

    @Override
    protected Serializable pkVal() {
        return this.acprId;
    }

    @Override
    public String toString() {
        return "Acpr{" +
        ", acprId=" + acprId +
        ", acprName=" + acprName +
        ", acprDate=" + acprDate +
        ", acprPublishname=" + acprPublishname +
        "}";
    }
}
